package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房源订购对象 house_order
 * 
 * @author ...
 * @date 2022-03-18
 */
public class HouseOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 房源id */
    @Excel(name = "房源id")
    private Integer houseId;

    /** 房源名 */
    @Excel(name = "房源名")
    private String houseName;

    /** 租借时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租借时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rentTime;

    /** 月数 */
    @Excel(name = "月数")
    private Long mouthNum;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

    /** 总金额 */
    @Excel(name = "总金额")
    private String totalMoney;

    /** 已交金额 */
    @Excel(name = "已交金额")
    private String money;

    /** 创建人 */
    @Excel(name = "创建人")
    private Integer createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private Integer updateUser;

    /** 是否已删除 */
    @Excel(name = "是否已删除")
    private Integer isDeleted;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setHouseId(Integer houseId) 
    {
        this.houseId = houseId;
    }

    public Integer getHouseId() 
    {
        return houseId;
    }
    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }
    public void setRentTime(Date rentTime) 
    {
        this.rentTime = rentTime;
    }

    public Date getRentTime() 
    {
        return rentTime;
    }
    public void setMouthNum(Long mouthNum) 
    {
        this.mouthNum = mouthNum;
    }

    public Long getMouthNum() 
    {
        return mouthNum;
    }
    public void setExpireTime(Date expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() 
    {
        return expireTime;
    }
    public void setTotalMoney(String totalMoney) 
    {
        this.totalMoney = totalMoney;
    }

    public String getTotalMoney() 
    {
        return totalMoney;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setCreateUser(Integer createUser) 
    {
        this.createUser = createUser;
    }

    public Integer getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Integer updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() 
    {
        return updateUser;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("houseId", getHouseId())
            .append("houseName", getHouseName())
            .append("rentTime", getRentTime())
            .append("mouthNum", getMouthNum())
            .append("expireTime", getExpireTime())
            .append("totalMoney", getTotalMoney())
            .append("money", getMoney())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
